package cn.service.impl;

import cn.entity.Student;
import cn.repository.StudentMapper;
import cn.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2018/1/16 0016.
 */
@Service
public class StudentServiceImpl implements IStudentService {
    @Autowired
    private StudentMapper studentMapper;
    @Override
    public Student get(Long id) {
        return studentMapper.get(id);
    }
}
